<a href="<?php echo $ads->hplink;?>" target="_blank" title="<?php echo $ads->title;?>"><img src="<?php echo get_real_path($ads->file_path);?>" width="<?php echo $ads->width;?>" height="<?php echo $ads->height;?>"  /></a>